Page({

  /**
   * 页面的初始数据
   */
  data: {
    imgUrls:[
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1560061053933&di=77553ea0b5ef3ba3875697e90011fe5b&imgtype=0&src=http%3A%2F%2Fp4.g.680.com%2F2018-09%2F18%2F20180918144521454960.png',
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1560061053932&di=3db8842eed672795570fe786bc2cf084&imgtype=0&src=http%3A%2F%2Fwww.ocn.com.cn%2FUpload%2Fuserfiles%2F30%2528227%2529.jpg'
    ],
    boards:[
      { key:'in_theaters',name:"正在热映"},
      { key: 'coming_soon', name: "即将上映" },
      { key: 'top250', name: "TOP250" },
      { key: 'us_box', name: "北美票房榜" },
      { key: 'weekly', name: "口碑榜" },
      { key: 'new_movies', name: "新片榜" }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  }
})